package com.itheima.homework.one;

public class MyRunnable implements Runnable{
    private int i;

    public MyRunnable(int i) {
        this.i = i;
    }

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName()+"任务编号"+i);
    }


}
